home *** CD-ROM | disk | FTP | other *** search
/ CD Concept 6 / CD Concept 06.iso / mac / UTILITAIRE / Little Smalltalk v3.1.4 / C Source / Headers / CTextPane.h < prev    next >
Text File  |  1994-10-09  |  1KB  |  32 lines

  1. //=============================================================================
  2. //    Little Smalltalk, version 3
  3. //    Written by Tim Budd, Oregon State University, July 1988
  4. //
  5. //    Symantec Think Class Library interface code ⌐Julian Barkway, April 1994 
  6. //
  7. //    CTextPane.h
  8. //    -----------
  9. //    This class implements a text-only pane.
  10. //=============================================================================
  11.  
  12. #ifndef _H_CTextPane
  13. #define _H_CTextPane
  14.  
  15. #include "CEditText.h"
  16.  
  17. struct CTextPane : CEditText {
  18.     void    ITextPane         (CView *encl, CBureaucrat *super, 
  19.                             SizingOption hSizing, SizingOption vSizing,
  20.                             short lineLength);
  21.                             
  22.     void    DoClick            (Point hitPt, short modifierKeys, long when);
  23.  
  24.     void    DoCommand        (long aCmd);
  25.  
  26.     void    DoKeyDown        (char theChar, Byte keyCode, EventRecord *macEvent);
  27.     void    DoAutoKey        (char theChar, Byte keyCode, EventRecord *macEvent);
  28.     void    CheckInsertion    (long insertLen, Boolean useSelection);
  29.     void    ReplaceContents    (char *theText);
  30.     void    DeleteContents    (void);
  31. };
  32. #endif